package com.freemalll.merchant.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freemalll.merchant.common.AbstractBaseEntity;
import com.freemalll.merchant.common.CompareField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 商户资方顺位引擎结果日志
 * </p>
 *
 * @author songshixiong
 * @since 2025-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mer_merchant_risk_capital_order")
@Schema(description = "商户资方顺位引擎结果日志")
public class MerMerchantRiskCapitalOrder extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "capital_id", type = IdType.ASSIGN_UUID)
    @CompareField(value = "capital_id", skip = true)
    private String capitalId;

    @Schema(description = "商户id")
    @TableField("mer_id")
    @CompareField(value = "mer_id", skip = true)
    private String merId;

    @Schema(description = "资方id")
    @TableField("source_id")
    @CompareField(value = "source_id", skip = true)
    private String sourceId;

    @Schema(description = "资方名称")
    @TableField("source_name")
    @CompareField("source_name")
    private String sourceName;

}
